<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小清新的登陆注册切换效果</title>
    <link rel="stylesheet" href="denglu.css">
</head>
<body>
    <div class="container">
        <div class="register-box ">
            <h2 class="register-title">
                <span>没有账号,去</span>注册
            </h2>
            <div class="input-box">
                <input type="text" placeholder="用户名">
                <input type="password" placeholder="密码">
                <input type="password" placeholder="请输入密码">
            </div>
            <button>注册</button>
        </div>

        <div class="login-box slide-up">
            <div class="center">
                <h2 class="login-title">
                    <span>已有账号去</span>登陆
                </h2>
                <div class="input-box">
                    <input type="text" placeholder="用户名">
                    <input type="password" placeholder="密码">
                </div>
                <button>登陆</button>
            </div>
        </div>
    </div>
    <script src="denglu.js"></script>
</body>
</html>